﻿


<script type="text/javascript">

    $(function () {
        $("#btn_Ajax").click(function () {

            $.post("/Account/RoleCreate/", $("#form :input").serialize(), function (d) {
                $("#form").submit();
                location.reload();
            });
            return false;
        });

    });
    </script>



 @ViewBag.ResultMessage
<div id="RoleCreate">
<div class="spacerBody">

    <div id="form">
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <div>
     @Html.TextBox("RoleName") </div>
   



    <img src="~/Images/validate.gif" id="btn_Ajax"  />
}
        </div>
    </div>

    </div>



